package com.hbx.platform.org.mapper;

import com.hbx.platform.base.mapper.BaseMapper;
import com.hbx.platform.org.domain.Department;

import java.util.List;

public interface DepartmentMapper extends BaseMapper<Department> {

    //获取部门树
    List<Department> getTree();

    Department queryByName(String name);
}
